package com.vv.test.auto;

import org.testng.annotations.Test;

public class SearchBaiDu  {
	 @Test
	    //搜索“中国”的测试用例
	    public void baiduSearch() throws InterruptedException { BaiDuIndex baiduHomePage = new BaiDuIndex();
	        //生成一个BaiduHomePage对象实例

	        baiduHomePage.open();
	        baiduHomePage.searchChina();
	        Thread.sleep(2000);
	        baiduHomePage.quit();
	        
	    }
}
